home *** CD-ROM | disk | FTP | other *** search
- property ancestor
- property LightButtons
- property FilterButtons
- property lightID
- property filterID
-
- on Birth me, theChannelObject, theName, thePageInfo
- set the ancestor of me to Birth( script "Master Page Template", theChannelObject, theName, thePageInfo, true, true )
-
- set lightID to "D"
- set LightButtons to FindButton( me, "Lights" )
- TurnRadioButtonOn( LightButtons, "r_d", false )
-
- set FilterID to "N"
- set FilterButtons to FindButton( me, "Filters" )
- TurnRadioButtonOn( FilterButtons, "r_n", false )
-
- MoveVVF( Point( -50, -5 ), false )
- Show me
- return me
- end
-
-
- on ChangePage me, theElementID, theValue1, theValue2
- ChangePage( the ancestor of me, theElementID, theValue1, theValue2 )
- case theElementID of
- #Light:
- set lightID to theValue1
- TurnRadioButtonOn( LightButtons, "r_" & lightID, false )
- show me
-
- #Filter:
- set FilterID to theValue1
- TurnRadioButtonOn( FilterButtons, "r_" & FilterID, false )
- show me
-
- end case
- end
-
- on BuildImageName me
- set theImageName to "R1_" & lightid & "_" & filterID
- put theImageName
- return theImageName
- end
-
-
-